// review_fileDlg.h : header file
//

#if !defined(AFX_REVIEW_FILEDLG_H__0FDDFD7C_B592_4DAB_B605_8B531C52EBD1__INCLUDED_)
#define AFX_REVIEW_FILEDLG_H__0FDDFD7C_B592_4DAB_B605_8B531C52EBD1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CReview_fileDlg dialog

class CReview_fileDlg : public CDialog
{
// Construction
public:
	CReview_fileDlg(CWnd* pParent = NULL);	// standard constructor
	CString GetprojectPath();
	CString SelectPath(HWND hWnd);
	void DealwithNcFile();
	CString m_head;
	CString m_tail;
private:
	void SetCtrlStatus();
	void InitListBox();
	void readPrepair2ListBox(CListBox &ctrl, CString head_file);
	void ChangeDataFile(int h_t, CString code_line);
	CStringList m_AllDataFileList;
	CString m_FileWithPath;
	CString m_FullFolder;
	CString m_FileName;
// Dialog Data
	//{{AFX_DATA(CReview_fileDlg)
	enum { IDD = IDD_REVIEW_FILE_DIALOG };
	CButton	m_file_list;
	CListBox	m_tail_ctrl;
	CListBox	m_head_ctrl;
	CEdit	m_file_path_ctrl;
	CButton	m_path_ctrl;
	CButton	m_item_ctrl;
	CButton	m_change_path_ctrl;
	CString	m_file_path;
	BOOL	m_item;
	BOOL	m_path;
	CString	m_head_str;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CReview_fileDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CReview_fileDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	afx_msg void OnBowser();
	afx_msg void OnCheckItem();
	afx_msg void OnCheckPath();
	afx_msg void OnFileOpen();
	afx_msg void OnDblclkListHead();
	afx_msg void OnDblclkListTail();
	afx_msg void OnFileList();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_REVIEW_FILEDLG_H__0FDDFD7C_B592_4DAB_B605_8B531C52EBD1__INCLUDED_)
